<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>简易留言板</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="container">
        <h1>留言板</h1>
        <form id="message-form">
            <input type="text" id="name-input" placeholder="您的姓名" required>
            <textarea id="message-input" placeholder="留言内容..." required></textarea>
            <button type="submit">提交留言</button>
        </form>
        <div id="messages-container"></div>
    </div>
    <script src="script.js"></script>
</body>
</html>